home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / AB4500.M3 < prev    next >
Text File  |  1996-04-01  |  4KB  |  141 lines

  1. name Allen-Bradley 4500
  2.  
  3. N >4
  4. G 2
  5. X ->34
  6. Y ->34
  7. Z ->34
  8. I ->34
  9. J ->34
  10. Q ->34
  11. R ->34
  12. P ->34
  13. F >41
  14. A >42 F
  15. H 4
  16. D >2
  17. T >5
  18. M >2
  19. S >4
  20.  
  21. ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85  # List of g codes that are modal    
  22.  
  23. ModalLetters X Y Z F                  # List of letters that are modal    
  24.  
  25. Sequence#s N 1 1 1                    # Char, freq, incr & start          
  26.  
  27. HCode X                               # X or X U  'Horizontal char.       
  28. VCode Y                               # Y or Y V  'Vertical char.         
  29. Dcode Z                               # Depth char.                       
  30. FeedCode F                            # Feed rate char.                   
  31.  
  32. Comment ( )                           # Begin End comment char.           
  33.  
  34. Spindle 3 4 5                         # Cw, ccw & stop m codes            
  35. Coolant 8 9 7                         # On, Off & Mist m codes            
  36. DComp 41 42 40                        # Left, Right & Cancel m codes      
  37. LComp 43 49                           # On & Off codes                    
  38.  
  39. Feed G1                             # Linear move                       
  40. Rapid F200                          # Rapid positioning word            
  41. Cw G2                               # Circular move clockwise           
  42. Ccw G3                              # Circular move counter clockwise   
  43. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  44. Work G                                # Work offset register              
  45. CtrCode I J                           # I J or R or I J K L               
  46. Helical? Y
  47.  
  48. Spaces? Y                             # Y or N  'Spaces between words     
  49. Incremental? N                        # Y or N  'Inc or abs output        
  50. CtrIncremental? Y                     # Y or N  'Inc or abs I & J         
  51. ByQuadrants? Y                        # Y or N  'Break arcs at quadrants  
  52.  
  53. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  54.  
  55. Drill                                 # Drilling canned/manual cycle      
  56. G81 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  57. end cancel
  58.  
  59. Peck                                  # Pecking canned/manual cycle       
  60. none
  61. end
  62.  
  63. Tap                                   # Tapping canned/manual cycle       
  64. G84 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  65. end
  66.  
  67. LTap                                  # Left handed tapping cycle         
  68. G74 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  69. end
  70.  
  71. Ream                                  # Reaming canned/manual cycle       
  72. G85 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  73. end
  74.  
  75. Bore                                  # Boring canned/manual cycle        
  76. G86 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  77. end
  78.  
  79. Back                                  # Back boring canned/manual cycle   
  80. G87 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  81. end
  82.  
  83. Cancel                                # Cancel a canned/manual cycle      
  84. G80
  85. end
  86.  
  87. StartCode                             # Start of the program              
  88. G90 G94 G0 G17
  89. G92 X[WorkH] Y[WorkV] Z[WorkD]
  90. End
  91.  
  92. 1stToolChange                         # First tool change                 
  93. T[Tool]
  94. H0
  95. M19
  96. M6
  97. M[Direct] S[Speed]
  98. X[H] Y[V] F200 M[Cool]
  99. H[Lcomp]
  100. Z[VClear] F60
  101. End
  102.  
  103. Infeed                                # Enable cutter comp                
  104. G1 Z[D] A[Plunge]
  105. H[Dcomp]
  106. G92 A5000
  107. G[Side] X[H] Y[V] F[FRate]
  108. end
  109.  
  110. Outfeed                               # Disable cutter comp               
  111. G1 G40 X[H] Y[V]
  112. Z[D] F60
  113. end
  114.  
  115. ToolChange                            # Secondary tool changes            
  116. T[Tool] M9
  117. H0
  118. M19
  119. M6
  120. M[Direct] S[Speed]
  121. X[H] Y[V] F200 M[Cool]
  122. H[Lcomp]
  123. Z[VClear] F60
  124. End
  125.  
  126. CwCode
  127. G2 X[H] Y[V] Z[D] I[IVAL] J[JVAL] F[FRATE]
  128. End
  129.  
  130. CcwCode
  131. G3 X[H] Y[V] Z[D] I[IVAL] J[JVAL] F[FRATE]
  132. End
  133.  
  134. EndCode                               # End of the program                
  135. T[Tool1] M9
  136. H0
  137. M19
  138. X[WorkH] Y[WorkV] Z[WorkD] F200
  139. M2
  140. End
  141.